﻿@model RiderShop.Mobile.Modle.MyAccount.MyFavoritesModel
@section header
{
    <link href="~/Themes/RongJi/Style/plugins/fastconfirm/jquery.fastconfirm.css" rel="stylesheet">
    <link href="~/Themes/RongJi/Style/base/css/account.css" rel="stylesheet">
}
@section title
{
    我的收藏
}

<div id="equalize">
    @{
        Html.RenderPartial("MenuPartial");
    }
    <div class="col-right">
        <div class="wrapper-right">
            <header class="accountHeader">
                <i class="cang"></i>
                <h2>我的收藏</h2>
            </header>
            @if (Model.FavoritesList == null)
            {
                <div class="nothingHere">
                    <i class="fa fa-leaf"></i> 
                    <p>~收藏空空如也~</p>
                    <a href="~/" class="rjbtn rjbtnGreen">去逛逛</a>
                </div>
            }
            else
            {
            <table class="order_list">
                <thead>
                    <tr>
                        <th>商品图片</th>
                        <th>商品名称</th>
                        <th>价格</th>
                        <th>库存</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody id="myfavoriteslist">
                @{
                    Html.RenderPartial("MyFavoritesPartial", Model);
                }
                </tbody>
            </table>
           
                
            <div class="pageNavBottom">
                <ul class="listPager">
                    <li class="disabled">共<strong>@Model.TotalCount</strong>个收藏</li>
                    <li class="disabled">共<strong id="myfavoritesTotlaPage">@Model.TotalPage</strong>页</li>
                    <li class="disabled">当前第<strong id="currentPage">1</strong>页</li>
                    <li class="item"><i class="fa fa-angle-double-left"></i> <a href="javascript:void(0)" id="fristPage">首页</a></li>
                    <li class="item"><i class="fa fa-angle-left"></i> <a href="javascript:void(0)" id="previousPage">上一页</a></li>
                    <li class="item"><a href="javascript:void(0)" id="nextPage">下一页</a> <i class="fa fa-angle-right"></i></li>
                    <li class="item"><a href="javascript:void(0)" id="lastPage">尾页</a> <i class="fa fa-angle-double-right"></i></li>
                </ul>
            </div>
            }
        </div>
    </div>
</div>
@section footer
{
   <script src="~/Themes/RongJi/Style/plugins/fastconfirm/jquery.fastconfirm.js"></script>
   <script src="~/Themes/RongJi/Style/base/js/account.myfavorites.js"></script>
}